/**
 * @project lauwsys
 * @author Christian Teguh
 * @created 21 Okt 2011 03.38.51
 *
 */
package com.chimoz.lauwsys.mvc;

import java.util.Date;
import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class HomeController {
	
	@RequestMapping( "/home" )
	public ModelAndView showHomePage(Map<String, Object> model) {
		String now = (new Date()).toString();
		return new ModelAndView("home", "now", now);
	}
	

}
